#include <IL/il.h>
#include <string>

#pragma comment(lib, "DevIL.lib")

int main(int argc, char** argv)
{

    ilInit();

    ILuint ImgId = 0;
    ilGenImages(1, &ImgId);
    ilBindImage(ImgId);

    ILboolean ilresult;
#ifdef _UNICODE
    ilresult = ilLoadImage(L"test.jpg");
#else
    ilresult = ilLoadImage("test.jpg");
#endif

    if (!ilresult)
    {
        ILenum Error;
        Error = ilGetError();

        //std::string(iluErrorString()

        return false;
    }

    return 0;
}

